import bean.ListNode;

public class LeetCode143 {
    public static void main(String[] args) {

    }

    public void reorderList(ListNode head) {
        ListNode end = null;

        ListNode endNode = head;
        int length = 1;
        while (endNode.next != null){
            end = endNode.next;
            length++;
        }

        int i = 0;
        int mid = length / 2;
        System.out.println(mid);
        while (i < mid){

        }

    }
}
